#pragma once

#include <asm/current.h>

#include <linux/mutex.h>

struct task_struct {
	/* -1 unrunnable, 0 runnable, >0 stopped: */
	volatile long			state;

	struct mm_struct		*active_mm;

#ifdef CONFIG_STACKPROTECTOR
	/* Canary value for the -fstack-protector GCC feature: */
	unsigned long			stack_canary;
#endif
};
